const http = require("http");

http.createServer((req,res) => {
    res.pipe(process.stdout);
    res.end("success")
}).listen(8080);

console.log("listen 8080")